import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Tabbar, TabbarItem ,NavBar ,Icon,Cell,Search,Swipe, SwipeItem ,NoticeBar ,Card  
    ,IndexBar, IndexAnchor,Tab, Tabs,DropdownMenu,DropdownItem,Image as VanImage,Notify} from 'vant';
import {http} from '@/api/index'
import "@/assets/icon/iconfont.css"
import "@/assets/icon/iconfont.js"


const app=createApp(App)
app.config.globalProperties.$http= http;
app.use(store).use(router).use(Tabbar).use(TabbarItem).use(NavBar).use(Icon).use(Search).use(NoticeBar)
.use(Swipe).use(SwipeItem).use(Card).use(IndexBar).use(IndexAnchor).use(Cell).use(Tab).use(Tabs).use(DropdownMenu).use(DropdownItem )
.use(VanImage).use(Notify)
.mount('#app')
